`timescale 1ns/1ps

// 没有端口
module inst_fetch_tb;

// 数据类型说明
	reg CLOCK;		// 激励信号
	reg rst;
	wire[31:0] inst;	// 显示信号

// 激励向量定义
	initial begin
		CLOCK = 1'b0;
		forever #10 CLOCK = ~CLOCK;
	end

	initial begin
		rst = 1'b1;
		#195 rst = 1'b0;
		#1000 $stop;
	end

// this is my test
	// initial begin
	// 	#0 CLOCK <= 0;
	// 	#10 CLOCK <= 1;
	// 	#10 CLOCK <= 0;
	// 	#10 CLOCK <= 1;
	// 	#10 CLOCK <= 0;
	// 	#10 CLOCK <= 1;
	// 	#10 CLOCK <= 0;
	// 	#10 CLOCK <= 1;
	// 	#20 $stop;
	// end

	// initial begin
	// 	#0 rst <= 1;
	// 	#15 rst <= 0;
	// end

// 待测模块实例化
	inst_fetch inst_fetch0 (
		.clk(CLOCK),
		.rst(rst),
		.inst_o(inst)
	);

// 打印内容
	initial begin
		$monitor("At time %t, CLOCK = %0d, rst = %0d, inst = %h", $time, CLOCK, rst, inst);
	end

// 产生波形
	initial begin
		$dumpfile("inst_fetch.vcd");
		$dumpvars(0, inst_fetch0);
	end

endmodule